<?php
namespace app\index\controller;
use think\facade\View;
use think\facade\Db;
use think\facade\Request;
error_reporting(E_ERROR | E_PARSE );
class Base extends \app\BaseController{
    public function initialize(){
        View::assign("sitename",config("setting.sitename"));//站点名称
        //数据统计
        $tongji=new \app\index\model\TongjiModel();
        $tongji->start();
    }
}
